# This repo contains all the R scripts and data objects needed for replicating the main and supplementary analyses reported in Garside & Zhai (2022)
# Please download all scripts and objects before you replicate any analysis
# Please put all scripts and files under the same working directory (recommdended: ~/Desktop/)

# All files with names starting in "R*" are R scripts
# The order of the scripts R_01 * to R_03* follow the structure of the paper (main text -> appendix -> design simulation)
# The additional script R_00* supplies helpers for the analysis scripts (R_01* through R_03*)

# All files with names starting in "data*" are data objects
# The objects are directly read into the global environment as each script is processed
# Do not change the name of any file as the above procedure requires filename identification
# The two compressed files (data_flood_govt and data_glood_satellite) shoudl be unzipped before accessings files inside

# If you encounter any problem or have any suggestions please feel free to contact us at:
# haoyu.zhai@eui.eu; haoyu.zhai@wzb.eu
# Susanna Garside & Haoyu Zhai, Nov 8 2022